using "Vendor-provided" is possible install PHP version 5.3 ??

000

Well-Known Member
Jun 3, 2008
523
27
78
my file .bash_profile is:

Code:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH=$HOME/local/bin:$PATH

export PATH
 

quietFinn

Well-Known Member
Feb 4, 2006
1,653
326
438
Finland
cPanel Access Level
Root Administrator
I don't know how you installed PHP 5.3, but I think there might be conflicting settings in various files (.htaccess php.ini .user.ini), in various places (
/home/USER_CPANEL/, /home/USER_CPANEL/public_html/, /home/USER_CPANEL/public_html/academy/).
 
  • Like
Reactions: andrew.n

andrew.n

Well-Known Member
Jun 9, 2020
877
329
63
EU
cPanel Access Level
Root Administrator

000

Well-Known Member
Jun 3, 2008
523
27
78
I don't know how you installed PHP 5.3, but I think there might be conflicting settings in various files (.htaccess php.ini .user.ini), in various places (
/home/USER_CPANEL/, /home/USER_CPANEL/public_html/, /home/USER_CPANEL/public_html/academy/).
this files not exists

from WHM I create NEW account/domain
then becouse I have fear of break the server (services to others users)
I connect to SHELL as USER_cPanel, install PHP 5.3, NOT upload nothing

by default /academy load PHP 8
when I put .htaccess with
Code:
AddHandler fcgid-script .php
then file.php go to download
when I put .htaccess with
Code:
AddHandler fcgid-script .php
FcgidWrapper "/home/user_cPanel/local/bin/php" .php
then any URL in user_cPanel web is 500 (and the others users be save!)

however ALL TIME from SHELL:

1640708876412.png


again:
we are near of the target?


we not use How to install PHP 5.2 and PHP 5.3 together on cPanel server? - System Network Programming Solution becouse this is for ALL SERVER,
that is for "user choice version", but I need 5.3 only for ONE user.


Thanks