Forums / Installing on a Linux/Unix Server / Will not install for me I have followed everything.

Will not install for me I have followed everything.

Views: 1,095

Results 1 to 8 of 8
18 Mar 2020, 8:00 AM
#1
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Will not install for me I have followed everything.

I am installing on my apache 2 server with mysql
Using localhost as my domain name is not yet visible.

Will not install for me I have followed everything.

I have the latest version set the two configure.php with chmod 777

When I go to zc_install/index.php it says cannot find the configure.php or chmod is not set. I know it has and the files are in the right place
it also says mysqli php is not installed.

I think it has because php.info works at localhost/phpinfo

Same thing happens when I put my ip address in instead of localhost. I am port forwarding so see my site on my ip address.

18 Mar 2020, 9:30 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Will not install for me I have followed everything.

Although there are instructions suggesting to use 777, I would recommend that files be no higher than 644 and folders 755. There are some server setups that will prevent access of files/folders where permissions are set to 777.

For the mysqli_ portion, may need to review the phpinfo() results to see what is included/excluded. Other than that, may need to wait just a little bit for the server to be fully Internet accessible, though keep checking what you can as there likely is something else not yet considered.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

18 Mar 2020, 5:01 PM
#3
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Re: Will not install for me I have followed everything.

Thanks the domain name is now fully access-able. I installed again and the same thing has happened I looked at the configure files but they say
They have been chmod to 777 and checked.

I will do what you said with chmod 644

I have not done any folders yet does this matter?

define('HTTP_SERVER', 'localhost');
define('HTTPS_SERVER', 'localhost');

I tried changing them by putting in the domain name but they still do not work.

Where do I install the mysqli extension for PHP as I am sure that is missing.

What is the terminal command as Fedora 31 cinnamon desktop's packet manager is hopeless

18 Mar 2020, 6:19 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Will not install for me I have followed everything.

bscho:

Thanks the domain name is now fully access-able. I installed again and the same thing has happened I looked at the configure files but they say
They have been chmod to 777 and checked.

I will do what you said with chmod 644

I have not done any folders yet does this matter?

define('HTTP_SERVER', 'localhost');
define('HTTPS_SERVER', 'localhost');

I tried changing them by putting in the domain name but they still do not work.

Where do I install the mysqli extension for PHP as I am sure that is missing.

What is the terminal command as Fedora 31 cinnamon desktop's packet manager is hopeless
Those defines:

define('HTTP_SERVER', 'localhost');
define('HTTPS_SERVER', 'localhost');

Although for your localhost, still need to identify a protocol to use: http or https. So after the permissions of the file have been verified to be writeable (at least 644), then save it with the following:

define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'http://localhost');

As to mysqli_, will have to come back.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

18 Mar 2020, 6:47 PM
#5
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Re: Will not install for me I have followed everything.

I will try adding http:// maybe that is the reason. I do not have a secure certificate yet but the product is free anyway.

I have installed it on my other website that I have on a hosting site. I have had no problem. I use filezilla to put the files and had to use Putty to chmod.

it appears that if I am using it on my localhost which has apache 2 and mysql is the problem. I do not use filezilla as I can edit the files directly from the files as root.

Any ideas how I can fix this?

19 Mar 2020, 12:41 AM
#6
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Will not install for me I have followed everything.

bscho:

I will try adding http:// maybe that is the reason. I do not have a secure certificate yet but the product is free anyway.

I have installed it on my other website that I have on a hosting site. I have had no problem. I use filezilla to put the files and had to use Putty to chmod.

it appears that if I am using it on my localhost which has apache 2 and mysql is the problem. I do not use filezilla as I can edit the files directly from the files as root.

Any ideas how I can fix this?

If you are installing each on your own and not as a package such as xampp then you need to install MySQLi extension so php can communicate with mySQL.. Filezilla can chmod, right click on the file and use file permissions..

Dave
Always forward thinking... Lost my mind!

19 Mar 2020, 4:07 PM
#7
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,970
Plugin Contributions:
8

Re: Will not install for me I have followed everything.

davewest:

If you are installing each on your own and not as a package such as xampp then you need to install MySQLi extension so php can communicate with mySQL.. Filezilla can chmod, right click on the file and use file permissions..

dave this sounds like a linux install... and with root access on the machine. so filezilla not necessary.

are you familiar with the terminal window? what version of php are you using?

it sounds like you are running a linux virtual machine? or am i wrong here? or are you running it on your linux desktop? either way the install is the same.

looks like fedora uses dnf. see

https://developer.fedoraproject.org/tech/languages/php/php-installation.html

sudo dnf install php-mysqli
//sudo not necessary if running as root...

for linux permissions do

man chmod

i'm not that familiar with dnf or fedora but it should not be that hard to figure out. and i would encourage using it from the command line.

good luck.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

20 Mar 2020, 6:50 AM
#8
bscho avatar

bscho

Zen Follower

Join Date:
Jul 2016
Location:
London
Posts:
259
Plugin Contributions:
0

Re: Will not install for me I have followed everything.

carlwhat:

dave this sounds like a linux install... and with root access on the machine. so filezilla not necessary.

are you familiar with the terminal window? what version of php are you using?

it sounds like you are running a linux virtual machine? or am i wrong here? or are you running it on your linux desktop? either way the install is the same.

looks like fedora uses dnf. see

https://developer.fedoraproject.org/tech/languages/php/php-installation.html

sudo dnf install php-mysqli
//sudo not necessary if running as root...

> 
> for linux permissions do 
> ```
man chmod

i'm not that familiar with dnf or fedora but it should not be that hard to figure out. and i would encourage using it from the command line.

good luck.

I have fixed the mysqli

now 2 more lines have appeared asking for chmod of logs folder and cache folder.

I have chmod them and all are writeable.

It is as if the store is not being seen.

I have installed on my normal site a second store2 which is hosted by another company
and there was no problem.

It seems the problem is hosting on my own machine.

I wish there was a installation tutorial for that.