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've recently read Wallace Wang's “Beginning Programming for Dummies, 7 books in 1” and found it to be very enlightening, as it highlighted various differences between the three main operating systems of Linux, Mac and Microsoft; and thought PHP would be as good a starting point to start with and chose “Head First, PHP & MySQL” in the O'Reily library.
Problem, it only describes the set up and installation of LAMP server for Microsoft and Mac and I'm unable to do the exercises, in chapter one. As I failed to set up LAMP, on several occasions using the links and other prescribed methods in this forum.
I get to “Look it Works” on the browser, when you restart Apache, then enter the code lines to obtain the PHP display page, after reading a long message, which tells me certain facets of the php install were deprecated, do you want to continue, “y or n” the terminal goes blank upon typing “y” and followed by a series of new lines starting with a comma, ending with a red line message “E353: nothing in register”.
Entering “php -version” or “mysql -version” commands in the terminal, it informs me I do not have either installed, but gives the option to install either with the following “sudo apt-get install php5-cli” or “sudo apt-get install mysql-client-core-5.5 ” commands. Though Apache comes with multiple choice? Sort of grasp why there is nought in the register.
Security issues, I was informed to enter a new password for MySQL, then re-enter, went with my computer root command password. By the third or fourth attempt I used a new password for MySQL. Boy that cooked the system. Delete and re-installed 12.04.
The system only recognises the 127.0.0.1, which it didn't like either, and I couldn't find an option to enter my IP localhost.com, shown on the example graphic or the preferred 192.168.00.000 modified address used in other examples.
Is “Head First, PHP & MySQL” still the best way forward for Ubuntu 12.04, if not can you recommend..!
Would it be prudent to download PHP, MySQL and Apache using the sudo apt-get install command first, then attempt the set up using “tasksel”, which is now installed.
Feeling like a NUMPTY and totally lost.
Use the commands it suggests (sudo apt-get install php5 php5-cli mysql-client mysql-server) to install PHP and MySQL, and reboot the Apache server using sudo service apache2 restart. It should load both programs and function properly.
sudo apt-get install php5 php5-cli mysql-client mysql-server
sudo service apache2 restart
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.