logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: php, apache, and php pecls php file codes
Author
shaggy



Joined: 15 Nov 2005
Posts: 82
Location: Dundee, Michigan

PostPosted: Sat 24 Jan '15 23:09    Post subject: php, apache, and php pecls php file codes Reply with quote

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

PostPosted: Sun 25 Jan '15 1:03    Post subject: Reply with quote

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


Reply to topic   Topic: php, apache, and php pecls php file codes View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner