New answers tagged

0

I found what the error was!. The Address I was putting was the loopback one, I typed the Static from the Server I finally got it. That was the solution.


0

just posting this reply to save others some time. I had the same problem as OP, digging through the thread he linked to gave me this command: sudo /etc/init.d/mysql restart which tries to restart mysql. In using this command i finally got an error message confirming the problem is the memory being too full: /etc/init.d/mysql: ERROR: The partition ...


0

I know that you are looking to just connect and may just be getting started, but please stop using mysql_connect; I didn't even know it was still even supported at this point A quick reference point to start with PDO is http://php.net/manual/en/book.pdo.php A quick example of what I use for my PDO connection I have a file. We'll call it connection.php ...


0

sudo apt-get purge php5 sudo apt-get install php5 sudo service apache2 restart I recently had the same issue with a lamp stack. At the end of it all I had to do was reinstall php5 and restart apache and it all started working with no issues.


1

Trash can is a folder under your Home called: .local/share/Trash $ sudo chown -R $USER ~/.local/share/Trash Will set the ownership of the files in the trash to the account you are using. After that you should be able to empty the trash.


-1

I did sudo apt-get install phpmyadmin. I get this output: The following packages have unmet dependencies: phpmyadmin : Depends: php-gettext but it is not going to be installed Depends: php-seclib but it is not going to be installed E: Unable to correct problems, you have held broken packages. php7.0 is working fine. sudo apt-get -f install ...


0

I also had similar problem. This was what I did: chmod my files to 755. You can do this by using (you can try chmoding all files and dirs :p ) but please try step 2 first: chmod -R 755 your_folder/ Since my classes name began with a small letter which is incorrect look for this line in your init file: require_once('libraries/'.$class_name . '.php'); ...


0

i have created samba share point /var/www ... i want to access all website project from windows Pc that i created in ubuntu localhost Folder i was typing Pc-ip/site.com but now i tried smb://Pc-ip/site-name this also doesn't work for me samba service and apache2 also running i can access all site places in www folder inside ubuntu machine


0

in site-enabled folder 3 files are placed 000-default.conf example.com.conf and test.com.conf i can access all these 3 folders index.php inside the ubuntu machine only default site can access outside ubuntu but when im trying to access test.com or example.com it opens google page or i try smb://test.com:8080 i can modify folders and its file too from Win7 ...


0

At the moment I can only guess. But what are the permissions in your www-folder, especially if you are sharing them with samba and edit them on another pc (Windows?!) with a specific user? what does your apache 2 conf files look like? Especially the ones in /etc/apache2/sites-enabled/ edits to specify questions: Given your answer, there are several ...


0

First, In Terminal user change into root user. Ubuntu - sudo su. other - su Second , you should ensure that your username is included in www-data group. If not, you can add your username as www-data group sudo adduser $USER www-data After that, you should change the ownership of /var/www to your username sudo chown $USER:www-data -R /var/www Next ...



Top 50 recent answers are included