Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: php, apache, and php pecls php file codes |
|
Author |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Sat 24 Jan '15 23:09 Post subject: php, apache, and php pecls php file codes |
|
|
Hello again,
My brain isn't working today. I am looking for .php files that will load up and show me the following information:
php
php pecl's
apache
I know the code's to make'em are out there just haven't found'em yet. I see that the new version of php has a phpinfo.php file. Now that deals with php info. Now I just need apache code and php pecl code.
Any help?
Also, is there more info files I could have like for mysql or perl? Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 25 Jan '15 1:03 Post subject: |
|
|
Maybe
Code: |
print_r(get_loaded_extensions(true));
print_r(apache_get_modules());
echo apache_get_version();
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
printf("MySQL server version: %s\n", mysql_get_server_info());
|
|
|
Back to top |
|
|
|
|
|
|