php - Ubuntu 12.04 Mysqli not working -


I am trying to use mysqli at an Ubuntu 14.04 vps and it is not working. Here's my code:

  & lt; Body & gt; & Lt; P class = "title" & gt; & Lt ;? Php echo $ cppsname? & Gt; & Lt; / P & gt; & Lt; Div id = "container" & gt; & Lt; Form id = "login" ACTION = "& lt ;? Php $ _SERVER ['PHP_SELF']? & Gt;" Method = "post" & gt; & Lt; P & gt; Username: & lt; / P & gt; & Lt; Input type = "text" id = "user" name = "user" & gt; & Lt; Br / & gt; & Lt; P & gt; Password: & lt; / P & gt; Input  Incorrect username or password "; }}} Other {resonant "and 

This code works however on the local host. Anyway, I have searched a lot of forums for this problem, they have edited all the responses by saying mysql (which I have done) or edit php.ini to cancel a line. And I did. Here I have performed in my console: sudo apt-get update sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install php5-cli sudo apt-get mesql-server sudo apt-get install phpmyadmin sudo ln install -s / usr / share / phpmyadmin / / var / www / phpmyadmin sudo install apt-get zip unzip file.zip

Can anyone help, it really bothers me .. Thanks, Z


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -