rawandnet
asked on
php without-mysql or gd
Hi
my phpinfo() shows that the following files are not available on my redhat server.
'--without-mysql' '--without-gd'
how can i install those?
my phpinfo() shows that the following files are not available on my redhat server.
'--without-mysql' '--without-gd'
how can i install those?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
no, this isif you recompile it.
You can see the php installation and configuration documentation at http://www.php.net/manual/en/install.php
Hope it helps.
You can see the php installation and configuration documentation at http://www.php.net/manual/en/install.php
Hope it helps.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hmm... submitted that last post before finishing...
If the above does not work (due to the --without-mysql' '--without-gd being flagged up) then either compile it as suggested above of remove it and do a complete installation with YUM. With repository managers there is really no reason to compile anything. On Debian I find the quickest way to install MySQL, Apache and PHP5 is to type
apt-get install phpmyadmin
and the dependency manager installs everything else so that phpmyadmin can run.
If the above does not work (due to the --without-mysql' '--without-gd being flagged up) then either compile it as suggested above of remove it and do a complete installation with YUM. With repository managers there is really no reason to compile anything. On Debian I find the quickest way to install MySQL, Apache and PHP5 is to type
apt-get install phpmyadmin
and the dependency manager installs everything else so that phpmyadmin can run.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
To revise you guys, I have already installed Apache php and MySQL using Yum command, I don't want to recompile Apache using source code because is too complicated for me to connect Apache and php and MySQL. I installed php-gd using YUM command, but still shows '--without-gd' on my phpinfo() page. Is there any way to enable gd without recompiling Apache or php? if not, is there a command can be used with YUM to enable gd on php.
I think the easier way should be to install xampp (http://www.apachefriends.org).
Is this a production server or a testing/development server ?
Is this a production server or a testing/development server ?
@rawandnet: Did you restart everything? If you did that and still found no GD, the install did not work, but if you have not restarted yet it is worth trying.
ASKER