Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
General Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Turn Your Knowledge into Earnings.
I would like manually install PHP 5.2.17. I manage to install httpd and mysql.
But when I want to PHP 5.2.17, I could not found a proper guide. These the step I had done with a fresh installation of CentOS 5.8 x86_64 (server & server GUI)
yum install httpd httpd-devel
/etc/init.d start OK
/etc/init.d start
/etc/init.d stop OK
/etc/init.d stop
yum install mysql mysql-server mysql-devel
yum remove php
yum groupinstall "Development Tools"
yum install libxml2-devel
wget http://museum.php.net/php5/php-5.2.17.tar.bz2 to get php5.2.17 (client requirement must use this version)
wget http://museum.php.net/php5/php-5.2.17.tar.bz2
cd php5.2.17
./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/local
This is the area I confuse.
I could not found the /usr/sbin/apxs in my system. I do another Google search on how to manually install PHP, they pointed using ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
/usr/sbin/apxs
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
Both localtion I also cannot find apxs or apache2. I scare I make any mistake on it. Please help and guide on this.
I am newbie in CentOS
Ok, after few days research on this topic. I do know the parameter for what. That is the specify directory would like to install to it.
That's the reason I can't find the path is created.
For best practise, it good to do it like this way
if you prefer install inside apache folder
./configure --prefix=/usr/local/apache/php
or
./configure --prefix=/usr/local/php
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
General Tech 9 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 2 Answers
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.