Permission Denied on mergin lamp-poc to my project


#1

Hi!

I have a problem with a project.
I just download lamp-poc, then, i merge it with my own project locally, and then, upload it to github to import to it to glitch, but every time the log show this error.

lamp-start.sh: line 4: .apache2/run-apache2.sh: Permission denied
lamp-start.sh: line 3: .mysql/run-mysqld.sh: Permission denied

i don’t know what is the problem.
If i remix Lamp-poc it starts well, but if i merge it to my project it don’t start.

How can i do to solve this problem?
Thanks (And sorry for my bad english)


#2

Hi @crusardri, welcome to the Glitch forum!

I think what’s happening here is that when you reimport your project the script files that start Apache and MySQL lose some of their permissions bits. Can you try to open your project’s console and run the following commands:

chmod +x .apache2/run-apache2.sh
chmod +x .mysql/run-mysqld.sh

and let us know how it goes?


#3

Thanks, it’s works, but now it show me other errors.
I’m trying to figure it out what it’s happening.
Thanks!


LAMP-POC Apache - No MPM loaded<