Jump to content

How to check PHP installed or not in Linux


veeraa2003

Recommended Posts

Hello every one !

I'm beginner using PHP in Linux environment . [b]I installed PHP5 in my federo6 system . [/b]
but while executing a PHP file in mozilla web browser I can't get the proper result. If I put any error in my php coding, it didn't show any error message just the page goes blank.

I used the rpm to check out installation.

[root@dhcppc0 ~]# rpm -qa | grep -i php
php-mysql-5.1.6-3.3.fc6
php-mbstring-5.1.6-3.3.fc6
php-mcrypt-5.1.6-1.fc6
php-cli-5.1.6-3.3.fc6
php-ldap-5.1.6-3.3.fc6
php-pear-1.4.9-4
php-pecl-xdebug-2.0.0-0.3.RC2.fc6
php-Smarty-2.6.13-1.fc6
php-pdo-5.1.6-3.3.fc6
php-5.1.6-3.3.fc6
php-bcmath-5.1.6-3.3.fc6
php-mhash-5.1.6-1.fc6
phpMyAdmin-2.9.1.1-2.fc6
php-devel-5.1.6-3.3.fc6
php-common-5.1.6-3.3.fc6
php-gd-5.1.6-3.3.fc6
php-xml-5.1.6-3.3.fc6
gphpedit-0.9.91-3.fc6
[root@dhcppc0 ~]#

whats the problem with my PHP5. Whether I need to install some thing else .
[quote author=thorpe link=topic=123821.msg512258#msg512258 date=1169646447]
Take a look in your php.ini file. Probably within /etc/php. Check it to make sure error reporting is on and that display errors is also on.
[/quote]

Thank You for kind reply. I checked the php.ini. I had seen as like you said. I changed to display error. Now I can get error message. I'm begineer to PHP in Linux so only I asked this type of questions . Dont mind it. Once again Thank you for your help....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.