|
Post by jacc90220 on Apr 16, 2024 1:08:08 GMT
Hi, I installed Bodhi Legacy on an Acer Aspire One D255E, Atom N550, 2Gb. This old netbook works well and I installed LAMP environment (Apache 2.4.29, Mysql 14.4, Php 7.2.24). I working with a small web applications and I am trying (learning) a framework that requires Php 7.4. I read and tried several tutorials but any works. ¿Do you have any suggestions?
|
|
Marcel
Member
Posts: 27
Likes: 18
|
Post by Marcel on Apr 16, 2024 15:25:15 GMT
If your environment is only voor learning PHP you can try to start PHP as a server. You don´t need an Apache server. Go to the directory of your project with Terminology create a file info.php with nano: $ nano info.php <?php echo phpinfo(); ?> CTRL+O to save and CTRL+X to exit nano and run the build in server: $ php -S localhost:8080 In my environment PHP 8.1.2 is running. [Tue Apr 16 17:08:35 2024] PHP 8.1.2-1ubuntu2.15 Development Server (http://localhost:8080) started Go to your browser and enter http://localhost:8080/info.php And check in the configuration what is installed or what is missing. More info ubuntu.com/server/docs/how-to-install-and-configure-php
|
|
|
Post by jacc90220 on Apr 16, 2024 18:04:46 GMT
Thanks for your answer, but I already installed PHP 7.2.24 and it works fine. I need to upgrade to PHP 7.4. My Bodhi is 5.0 (32 bit). I read several tutorials but none of them work, I installed ppa from ondrej, etc. but in terminology it appears that "The php7.4 package could not be located"
|
|
Marcel
Member
Posts: 27
Likes: 18
|
Post by Marcel on Apr 17, 2024 20:59:24 GMT
Sorry, I've no experience updating PHP that way. I simply use the version from the distro's repository.
|
|
|
Post by ylee on Apr 21, 2024 20:30:57 GMT
Thanks for your answer, but I already installed PHP 7.2.24 and it works fine. I need to upgrade to PHP 7.4. My Bodhi is 5.0 (32 bit). I read several tutorials but none of them work, I installed ppa from ondrej, etc. but in terminology it appears that "The php7.4 package could not be located" Are you saying you installed PHP 7.4 from launchpad.net/~ondrej/+archive/ubuntu/php? If so where was it installed? Is this in your path?
|
|
enigma9o7
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 1,485
Likes: 1,370
|
Post by enigma9o7 on May 14, 2024 3:09:05 GMT
|
|
|
Post by escuelaslinux on May 14, 2024 19:24:58 GMT
Agreed! with Bodhi 7 Legacy Beta you can install PHP 8.2 by default. Don't be afraid of the "beta" tag, it's really stable as we use a LAMP environment in it without any problems.
|
|