Jump to content

How can i check if PHP is functioning well in my Server???


emilioestevezz
 Share

Recommended Posts

Hi, im trying to configurate a webmail that uses php i got it installed on my box but i think its not functioning well is there any simple test to do for knowing if its functioning???

 

Also, the webmail keeps telling me to reintall libmxs, i did so, but it keeps telling me the same, what darn thing should i do???

 

Thanx

Link to comment
Share on other sites

Hi, im trying to configurate a webmail that uses php i got it installed on my box but i think its not functioning  well is there any simple test to do for knowing if its functioning???

Open a console, and as root create a file named "test.php", with a call to phpinfo()

[root@neo root]# cat > /var/www/html/test.php

<? phpinfo() ?>

[root@neo root]#

 

If php is running in your web server, when you open the following link: http://localhost/test.php you should see a preety page with some server info

 

Also, the webmail keeps telling me to reintall libmxs, i did so, but it keeps telling me the same, what darn thing should i do???

Version conficts?

Link to comment
Share on other sites

Well if it's functioning it's functioning.

 

You can give php more ram to work with by increasing the allowance in the php.ini file in /etc

 

The default is 8mb i change mine to 32 because i run some big scripts sometimes.

Depends on what you scripts do.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...